getKeyframeMode

abstract fun getKeyframeMode(block: DesignBlock, property: String): TrackMode

Get the mode of the keyframe track of a block property. Throws when the property has no keyframes. Experimental: this API may change in a minor release.

Return

the mode of the track.

Parameters

block

the block that owns the property.

property

the animatable property path.